# -*- coding: utf-8 -*-

from flask_script import Manager
from server import app
from app.commands.app import app_manager
from app.commands.source import source_manager
from app.commands.ploy import ploy_manager

manager = Manager(app)

manager.add_command('app', app_manager)
manager.add_command('source', source_manager)
manager.add_command('ploy', ploy_manager)

if __name__ == '__main__':
    manager.run()
